<template>
	<view class="all">
		<view class="body">
			<view class="body_1">
				<image style="width:50rpx ;height:50rpx ;" src="@/static/img/success_pay.png" />
				<text>{{type=='积分'?'兑换成功':'购买成功'}}</text>
			</view>
			<!-- <view class="body_2">
				获取积分 <text>50</text>
			</view> -->
			<view class="body_3" v-if="type!='线下课程'">
				<image style="width:200rpx ;height:68rpx ;margin-right: 30rpx;"
					src="https://s4.ax1x.com/2022/01/19/7rMaee.png" />
				<image style="width:200rpx ;height:68rpx ;" src="https://s4.ax1x.com/2022/01/26/7LNTS0.png" />
			</view>
		</view>
		<view class="foot">
			<my-text style="margin: 30rpx 0 30rpx 0;" :text="'猜你喜欢'" />
			<j-list v-if="type=='积分'"></j-list>
			 <s-list v-else /> 
		</view>
	</view>
</template>
<script>
	import chuxing from '@/components/chuxing.vue'
	export default {
		components: {
			chuxing,
		},
		data() {
			return {
				type: '',
				curre: '1',
				curre1: '1',
			}
		},
		onLoad(e) {
			console.log(e.type)
			this.type = e.type ? e.type : ''
		}
	}
</script>

<style lang="scss">
	.foot {
		padding: 30rpx;
		min-height: 1000rpx;
		margin-top: 40rpx;
		background: #F6F6F6;
		opacity: 1;
		border-radius: 50rpx 50rpx 0px 0px;
	}

	.jiudian {
		padding: 30rpx;

		.chuxing {
			margin-bottom: 10rpx;
			display: flex;
			justify-content: space-between;
			align-items: center;
			padding: 20rpx 20rpx 20rpx 40rpx;
			border-bottom: 1rpx solid $u-border-color;
			border-left: 1rpx solid $u-border-color;
			box-shadow: 0px 6rpx 10rpx rgba(0, 0, 0, 0.06);

			.chuxing_1 {
				width: 45%;
				display: flex;
				justify-content: space-between;
				align-items: center;

				.chuxing_1_2 {
					font-size: 28rpx;
					font-family: Source Han Sans CN;
					font-weight: 500;
					color: #131314;
					opacity: 1;

					.dian {
						margin-right: 10rpx;
						display: inline-block;
						width: 12rpx;
						height: 12rpx;
						background: #FF2424;
						border-radius: 50%;
						opacity: 1;
					}
				}

				.chuxing_1_1 {
					font-size: 28rpx;
					font-family: Source Han Sans CN;
					font-weight: 500;
					color: #131314;
					opacity: 1;

					.dian {
						display: inline-block;
						width: 12rpx;
						height: 12rpx;
						margin-right: 10rpx;
						background: #FFD500;
						border-radius: 50%;
						opacity: 1;
					}
				}
			}
		}

		.zk {}

		.jiudian_carp {
			display: flex;
			justify-content: space-between;
			margin-bottom: 20rpx;

			.jiudian_carp_right {
				width: 210rpx;
				height: 204rpx;
				background-size: 100% 100%;
				background-repeat: no-repeat;
			}

			.jiudian_carp_left {
				padding: 20rpx 20rpx 20rpx 40rpx;
				border-bottom: 1rpx solid $u-border-color;
				border-left: 1rpx solid $u-border-color;
				box-shadow: 0px 6rpx 10rpx rgba(0, 0, 0, 0.06);
				width: 80%;

				._carp_left_3 {
					display: flex;
					justify-content: space-between;
					align-items: center;

					._carp_left_3_1 {
						width: 25.72rpx;
						height: 25.72rpx;
					}

					._carp_left_3_3 {
						width: 50rpx;
						height: 50rpx;
					}

					._carp_left_3_2 {
						margin-left: 10rpx;
						font-size: 22rpx;
						font-family: HarmonyOS Sans;
						font-weight: 400;
						color: #91969A;
						opacity: 1;
					}
				}

				._carp_left_2 {
					margin: 15rpx 0 20rpx 0;
					font-size: 25rpx;
					font-family: Source Han Sans CN;
					font-weight: 400;
					color: #131314;
					opacity: 1;
				}

				._carp_left_1 {
					display: flex;
					justify-content: space-between;

					text:nth-of-type(1) {
						font-size: 28rpx;
						font-family: Source Han Sans CN;
						font-weight: bold;
						color: #131314;
						opacity: 1;
					}

					text:nth-of-type(2) {
						display: inline-block;
						text-align: center;
						padding: 0rpx 5rpx 0rpx 5rpx;
						font-size: 22rpx;
						font-family: Source Han Sans SC;
						font-weight: 400;
						color: #FF2424;
						opacity: 1;
						border: 1rpx solid #FF2424;
						opacity: 1;
						border-radius: 2rpx;
					}
				}
			}
		}

		.jiudian_1 {
			display: inline-block;
			margin: 20rpx 0 40rpx 0;
			font-size: 32rpx;
			font-family: Source Han Sans CN;
			font-weight: bold;
			color: #333333;
			opacity: 1;
		}
	}

	.xainxia_1 {
		.xainxia_3 {
			width: 200rpx;
			height: 80rpx;
			line-height: 80rpx;
			font-weight: bold;
			text-align: center;
			border-radius: 100rpx;
		}

		.xainxia_2 {
			.xainxia_2_2 {
				display: flex;
				align-items: center;
				margin-top: 15rpx;

				.xainxia_2_3 {
					margin-left: 20rpx;
					font-size: 28rpx;
					font-family: Source Han Sans CN;
					font-weight: 600;
					color: #D5212C;
					opacity: 1;
				}
			}

			.xainxia_2_1 {
				font-size: 36rpx;
				font-family: Source Han Sans CN;
				font-weight: bold;
				color: #333333;
				opacity: 1;
			}
		}

		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 90%;
		margin: auto;
		height: 200rpx;
		padding: 40rpx;
		background-size: 100% 100%;
		background-repeat: no-repeat;
	}

	.image_f {
		margin-top: 60rpx;
		min-height: 1227.28rpx;
		height: 1300rpx;
	}

	.body {
		margin-top: 40rpx;
	}

	.body_4_2 {
		color: #703F00;
		width: 156rpx;
		height: 55rpx;
		text-align: center;
		line-height: 55rpx;
		margin-right: 80rpx;
		background-repeat: no-repeat;
		background-size: 100% 100%;
		background-image: url(https://s4.ax1x.com/2022/01/19/7rsWvT.png);
	}

	.body_4 {
		display: flex;
		justify-content: space-between;
		align-items: center;
		margin-top: 40rpx;
		height: 170rpx;
		background-repeat: no-repeat;
		background-size: 100% 100%;
		background-image: url(https://s4.ax1x.com/2022/01/19/7rDWiq.png);

		.body_4_1 {
			// border: 1px solid black;
			margin-top: -10rpx;
			margin-left: 80rpx;
			width: 40%;

			text:nth-of-type(2) {
				font-size: 32rpx;
				font-family: Source Han Sans CN;
				font-weight: bold;
				color: #703F00;
				opacity: 1;
			}

			text:nth-of-type(1) {
				font-size: 26rpx;
				margin: 10rpx 0 10rpx 0;
				width: 200rpx;
				display: block;
				text-align: center;
				padding: 2rpx;
				background: #FFFFFF;
				opacity: 0.7;
				border-radius: 14px;
			}

		}
	}

	.body_3 {
		margin-top: 50rpx;
		display: flex;
		justify-content: center;
	}

	.body_2 {
		margin: 20rpx 0 20rpx 0;
		text-align: center;
		font-size: 30rpx;
		font-family: HarmonyOS Sans;
		font-weight: 400;
		color: #131314;
		opacity: 1;

		text {
			margin-left: 15rpx;
		}
	}

	.body_1 {
		display: flex;
		align-items: center;
		justify-content: center;

		text {
			margin-left: 15rpx;
			font-size: 32rpx;
			font-family: Source Han Sans CN;
			font-weight: 600;
			color: #131314;
			opacity: 1;
		}
	}
</style>
